package com.xiaocz.hblsubstitutedriving.model;

import java.io.Serializable;

/**
 * ClassName:PositionEntity <br/>
 * Function: 封装的关于位置的实体 <br/>
 * Date: 2015年4月3日 上午9:50:28 <br/>
 * 
 * @version
 * @since JDK 1.6
 * @see
 */

public class PositionEntity implements Serializable {


    private int id;
	private double latitue;//纬度
	private double longitude;//纬度
	private String name;
	private String city;
	private String address;

	public PositionEntity() {
	}

	public PositionEntity(double latitude, double longtitude, String name, String city, String address) {
		this.latitue = latitude;
		this.longitude = longtitude;
		this.name = name;
		this.city=city;
		this.address=address;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public double getLatitue() {
		return latitue;
	}

	public void setLatitue(double latitue) {
		this.latitue = latitue;
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Override
	public String toString() {
		return "PositionEntity [latitue=" + latitue + ", longitude="
				+ longitude + ", name=" + name + ", city=" + city
				+ ", address=" + address + "]";
	}
}
